package com.itheima.log.dao;

import com.itheima.log.domain.Log;
import org.apache.ibatis.annotations.Insert;

public interface LogMapper {

    @Insert("INSERT INTO `log`(`type`, `method`, `param`, `error`, `desc`, `create_date`) VALUES " +
            "(#{type}, #{method}, #{param}, #{error}, #{desc}, #{createDate})")
    void save(Log log);
}